//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<database.inl>
///	@path	~/src/database/
///	@date	2007/11/29
///	@desc	Database header inlines.

#pragma once

#include "xeres.h"

#include "database/database.h"

namespace xeres {

	// Key
	inline Key::Key( void )
		: m_key( NULL )
	{
	}

	// KeyPass
	inline Key::KeyPass::KeyPass( Identifier id )
		: m_id( id )
	{
	}

	// KeyPass
	inline Key::KeyPass::KeyPass( const KeyPass& pass )
		: m_id( pass.m_id )
	{
		pass.m_id = NULL;
	}

} // namespace xeres
